import ajax from '@/utils/ajax';
import request from '@/utils/request'
export default {
    // 上传设计图
    uploadDesignDrawings(data) {
        return ajax({
            url: '/projects/uploadDesignDrawings',
            method: 'post',
            data
        })
    },
    // 优惠审查被拒绝
    discountReviewRejected(data) {
        return ajax({
            url: '/projects/discountReviewRejected',
            method: 'post',
            data
        })
    },
    // 优惠审查被通过
    discountReviewPassed(data) {
        return ajax({
            url: '/projects/discountReviewPassed',
            method: 'post',
            data
        })
    },
    // 修改项目信息
    updProject(data) {
        return ajax({
            url: '/projects/updProject',
            method: 'post',
            data
        })
    },
    // 出具报价单
    issueQuotation(data) {
        return ajax({
            url: '/projects/issueQuotation',
            method: 'post',
            data
        })
    },
    // 分配工程经理
    assignEngineeringManager(data) {
        return ajax({
            url: '/projects/assignEngineeringManager',
            method: 'post',
            data
        })
    },
    // 分配造价员
    assignCostEstimator(data) {
        return ajax({
            url: '/projects/assignCostEstimator',
            method: 'post',
            data
        })
    },
    // 合同签约
    contractAward(data) {
        return ajax({
            url: '/projects/contractAward',
            method: 'post',
            data
        })
    },
    // 对客报价
    toCustomerQuotation(data) {
        return ajax({
            url: '/projects/toCustomerQuotation',
            method: 'post',
            data
        })
    },
    // 报价审核拒绝
    quotationReviewRejected(data) {
        return ajax({
            url: '/projects/quotationReviewRejected',
            method: 'post',
            data
        })
    },
    // 报价审核通过
    quotationReviewPassed(data) {
        return ajax({
            url: '/projects/quotationReviewPassed',
            method: 'post',
            data
        })
    },
    // 指派客户经理
    assignAccountManager(data) {
        return ajax({
            url: '/projects/assignAccountManager',
            method: 'post',
            data
        })
    },
    // 提交勘场信息
    submitSurveyInformation(data) {
        return ajax({
            url: '/projects/submitSurveyInformation',
            method: 'post',
            data
        })
    },
    // 添加项目
    addProject(data) {
        return ajax({
            url: '/projects/addProject',
            method: 'post',
            data
        })
    },
    // 申请报价
    applyQuotation(data) {
        return ajax({
            url: '/projects/applyQuotation',
            method: 'post',
            data
        })
    },
    // 确认勘场费用
    confirmSurveySiteExpenses(data) {
        return ajax({
            url: '/projects/confirmSurveySiteExpenses',
            method: 'post',
            data
        })
    },
    // 确认预付款
    confirmAdvancePayment(data) {
        return ajax({
            url: '/projects/confirmAdvancePayment',
            method: 'post',
            data
        })
    },
    // 项目勘场
    projectSurveySite(data) {
        return ajax({
            url: '/projects/projectSurveySite',
            method: 'post',
            data
        })
    },
    // 项目节点验收
    nodeAcceptance(data) {
        return ajax({
            url: '/projects/nodeAcceptance',
            method: 'post',
            data
        })
    },
    // 项目节点验收拒绝
    nodeAcceptanceRejected(data) {
        return ajax({
            url: '/projects/nodeAcceptanceRejected',
            method: 'post',
            data
        })
    },
    // 项目节点验收通过
    nodeAcceptancePassed(data) {
        return ajax({
            url: '/projects/nodeAcceptancePassed',
            method: 'post',
            data
        })
    },
    // 项目列表
    getProjectList(data) {
        return ajax({
            url: '/projects/getProjectList',
            method: 'get',
            data
        })
    },
}